<template>
    <div id="myDomId"></div>
</template>
<script lang="ts">
import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
import SwaggerUI from 'swagger-ui';
import 'swagger-ui/dist/swagger-ui.css';

@Component
export default class Api extends Vue {
    private mounted() {
        SwaggerUI({
            dom_id: '#myDomId',
            url: 'https://api.sinzk.cn/authentication/openapi.json',
        });
    }
}
</script>
